package com.heartline.api;

import com.blade.mvc.http.Request;
import com.blade.mvc.http.Response;
import com.heartline.pojo.RestResponse;

import java.io.UnsupportedEncodingException;

/**
 * 信息流
 * Created by zhy on 2018/6/14.
 */
public interface IChannel {

    /**
     * 接收上传的数据
     */
    RestResponse push(Request req, Response resp) throws Exception;

}
